import Vue from 'vue'
import Router from 'vue-router'
import list from "@/components/list";
import ProductShow from "@/components/ProductShow";
import ShenQing from "@/components/ShenQing";
import JieKuan from "@/components/JieKuan";
import creditLoan from "@/components/creditLoan";
import bindBankCard from "@/components/bindBankCard";
import BorrowerList from "@/components/BorrowerList";
import XiangQing from "@/components/XiangQing";
import Repayment from "@/components/Repayment";
import RepaymentEcharts from "@/components/RepaymentEcharts";
import lottery from "@/components/lottery";
import creditLoans from "@/components/creditLoans";
import userDetails from "@/components/userDetails";
import signIn from "@/components/signIn";
import authentication from "@/components/authentication";
Vue.use(Router)

// eslint-disable-next-line no-unused-vars
let router;
export default router = new Router({
    routes: [
        {
            path: '/authentication',
            name: 'authentication',
            component: authentication
        },
        {
            path: '/signIn',
            name: 'signIn',
            component: signIn
        },
        {
            path: '/userDetails',
            name: 'userDetails',
            component: userDetails
        },
        {
            path: '/creditLoans',
            name: 'creditLoans',
            component: creditLoans
        },
        {
            path: '/lottery',
            name: 'lottery',
            component: lottery
        },
        {
            path: '/bindBankCard',
            name: 'bindBankCard',
            component: bindBankCard
        },
        {
            path: '/creditLoan',
            name: 'creditLoan',
            component: creditLoan
        },
        {
            path: '/ProductList',
            name: '列表',
            component: list
        },
        {
            path: '/ProductShow',
            name: '列表',
            component: ProductShow
        },
        {
            path: '/ShenQing',
            name: '列表',
            component: ShenQing
        },
        {
            path: '/JieKuan',
            name: '列表',
            component: JieKuan
        },
        {
            path: '/BorrowerList',
            name: '列表',
            component: BorrowerList
        },
        {
            path: '/XiangQing',
            name: '列表',
            component: XiangQing
        },
        {
            path: '/Repayment',
            name: '列表',
            component: Repayment
        },
        {
            path: '/RepaymentEcharts',
            name: '列表',
            component: RepaymentEcharts
        }

    ]

})
